package com.lantosec.hmrp.modules.monitor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lantosec.hmrp.modules.monitor.entity.AssetsInfoEntity;
import com.lantosec.hmrp.modules.monitor.mapper.MonitorAssetsMapper;
import com.lantosec.hmrp.modules.monitor.service.IMonitorAssetsService;
import lombok.extern.log4j.Log4j2;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import java.util.List;

@Service()
@Primary
@Log4j2
@SuppressWarnings("all")
public class MonitorAssetsServiceImpl extends ServiceImpl<MonitorAssetsMapper, AssetsInfoEntity> implements IMonitorAssetsService {
    @Override
    public AssetsInfoEntity getAssetsTotalAmount() {
        return baseMapper.getAssetsTotalAmount();
    }

    @Override
    public List<AssetsInfoEntity> getAssetsTypeAmount() {
        return baseMapper.getAssetsTypeAmount();
    }
}
